@import './public.scss';

.body_nav {
  width: $width;
  margin: 0 auto;

  /*布局右侧栏*/
  .body_left {
    margin-top: 60px;
    width: 900px;
    float: left;
    border: 1px solid $border-color;
    padding: 0 0 0 30px;

    /*图片文字定位*/
    .img_a {
      position: relative;

      img {
        width: 380px;
      }

      .target_href {
        position: absolute;
        left: 265px;
        top: 5px;

        a {
          text-decoration: none;
          color: #fff;
          font-size: 20px;
          background-color: $background-color;
          padding: 5px 10px;
          opacity: 0.5;
        }
      }
    }

    .connection_family {
      position: relative;

      /*文本部分*/
      .connerion_family_body {
        line-height: 35px;
        color: $background-color;
        position: absolute;
        top: 55px;
        left: 400px;
      }
    }

    /*表格部分*/
    .table_body {
      margin-top: 20px;
      overflow: hidden;

      .title {

        li {
          list-style: none;
          margin-left: -23px;

          div {
            width: 95%;
            border-width: 200px;
            border-bottom: 1px dashed;
            padding: 0 0 10px 0;
          }

          div::before {
            content: "|";
            color: $color;
            font-weight: bold;

          }
        }
      }

      .table_body_left {
        float: left;
        margin-left: -35px;
        margin-right: 50px;
        width: 400px;

        li {
          list-style: none;
          border-bottom: 1px dashed;
          margin: 5px 10px;
          padding: 0 0 10px 0;
          overflow: hidden;

          a {
            color: black;
            text-decoration: none;
          }

          div:nth-child(1) {
            float: left;
            color: $color;
          }

          div:nth-child(1)::before {
            content: "|";
            color: $color;
            font-weight: bold;
            margin-right: 5px;
          }

          div:nth-child(2) {
            float: right;
          }
        }
      }

      .table_body_right {
        margin-top: 35px;

        li {
          width: 400px;
          border-bottom: 1px dashed;
          list-style: none;
          margin: 5px 0;
          padding: 0 0 10px 0;
          overflow: hidden;

          div:nth-child(1) {
            float: left;
            color: $color;
          }

          div:nth-child(1)::before {
            content: "|";
            color: $color;
            font-weight: bold;
            margin-right: 5px;
          }

          div:nth-child(2) {
            float: right;
          }
        }
      }
    }
  }

  /*包含景点部分*/
  .contain {
    margin-top: 40px;

    span {
      margin-left: 35px;
    }

    .scenic_spot {
      margin-left: -30px;
      border: 1px solid $border-color;
      background-color: $background-color-body;

      div {
        margin-left: 100px;
        margin-top: -25px;
      }

      a {
        margin-left: 10px;
        text-decoration: none;
        color: blue;
        opacity: .5;
        display: inline-block;
        padding: 5px;
      }
    }
  }

  /*景点目录*/
  .directory {
    margin-top: 15px;

    /*景点目录总体内容*/
    .attractions-directory {
      border: 1px dashed $border-color;
      margin-left: -30px;
      display: flex;
      background-color: $background-color-body;

      /*目录*/
      .directory-body {
        border: 1px dashed $border-color;
        width: 100px;

        h2 {
          position: relative;
          top: 50%;
          left: 50%;
          color: $color;
        }
      }

      /*ul部分*/
      ul {
        border-right: 1px dashed $border-color;
        margin-top: 5px;
        margin-bottom: 0;
        width: 306px;

        li {
          list-style: none;
          margin-left: -30px;

          .radius {
            display: inline-block;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background-color: $color;
            color: #fff;
            text-align: center;
            line-height: 20px;
            font-weight: bold;
          }

          h3>a {
            color: $color;
            font-weight: 300;

          }

          a {
            text-decoration: none;
            color: black;
            font-size: $font-size-body;
            display: inline-block;
            font-weight: 300;
            margin: 5px 0 0 5px;
          }
        }
      }

    }
  }

  /*周边旅游攻略*/
  .round-body {
    margin-top: 15px;

    table {
      margin-left: -31px;
      border-collapse: collapse;
      background-color: $background-color-body;

      tr:nth-child(1) td {
        color: black;
        font-size: 20px;
      }
    }

    td,
    th {
      border: 1px dashed $background-color;
      width: 380px;
      text-align: center;
      padding: 5px 0 5px 0;
      color: $background-color;

      a {
        text-decoration: none;
        color: $color;
      }
    }
  }

  /*美图欣赏*/
  .imgAppreciate {
    margin-left: -30px;

    h1 {
      position: relative;
      left: 50%;
    }

    img {
      width: 500px;
    }
  }

  /*坐标位置*/
  .mappath {
    h1 {
      position: relative;
      left: 50%;
    }

    #container {
      height: 300px;
      border: 1px dashed $border-color;
      margin-left: -30px;
    }
  }

  //布局左侧栏
  .body_right {
    float: left;
    margin-top: 60px;
    margin-left: 10px;
    border: 1px solid $border-color;
  }
}